<?php
    include("../include/bootrap.php");
    
    $page   = $_GET['page'];
    switch($page){
        case    'site'          :   include("../index.php"); break;
        case    'home'          :   include("site/index.php"); break;
        case    'product'       :   include("site/product/index.php"); break;
        case    'supplier'      :   include("site/supplier/index.php"); break;
        case    'news'          :   include("site/news/index.php"); break;
        case    'customer'      :   include("site/customer/index.php"); break;
        case    'orders'        :   include("site/order/index.php"); break;
        case    'member'        :   include("site/member/index.php"); break;
        case    'comment'       :   include("site/comment/index.php"); break;
        case    'report'        :   include("site/report/index.php"); break;
        default                 :   include("site/index.php"); break;
    }
?>